<template>
	<view id="profitDetail">
		<view class="dataNav">
			<view class="dataLine">
				<view class="label">月份：</view>
				<view class="data">{{item.a0}}</view>
			</view>
			<view class="dataLine">
				<view class="label">所属平台：</view>
				<view class="data">{{item.productName}}</view>
			</view>
			<view class="dataLine">
				<view class="label">类型：</view>
				<view class="data">{{item.a2}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合作商编号：</view>
				<view class="data">{{item.a3}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合作商名称：</view>
				<view class="data">{{item.a4}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合计金额：</view>
				<view class="data">{{item.a7}}</view>
			</view>
			<view class="dataLine">
				<view class="label">调整金额：</view>
				<view class="data">{{item.a40}}</view>
			</view>
			
			<view class="dataLine" v-if="item.a8">
				<view class="label">专票(6%)开票金额：</view>
				<view class="data">{{item.a8}}</view>
			</view>
			<view class="dataLine" v-if="item.a9">
				<view class="label">专票(3%)开票金额：</view>
				<view class="data">{{item.a9}}</view>
			</view>
			<view class="dataLine" v-if="item.a10">
				<view class="label">普票开票金额：</view>
				<view class="data">{{item.a10}}</view>
			</view>
			<view class="dataLine" v-if="item.a11">
				<view class="label">不开票金额：</view>
				<view class="data">{{item.a11}}</view>
			</view>		  
			<view class="dataLine">
				<view class="label">开票类型：</view>
				<view class="data">{{item.a12}}</view>
			</view>
			
			<view class="dataLine">
				<view class="label">开票金额：</view>
				<view class="data">{{item.a13}}</view>
			</view>
			<view class="dataLine">
				<view class="label">应发金额：</view>
				<view class="data">{{item.a14}}</view>
			</view>
			<view class="dataLine">
				<view class="label">实发金额：</view>
				<view class="data">{{item.a22}}</view>
			</view>
			<view class="dataLine">
				<view class="label">实发金额：</view>
				<view class="data">{{item.a22}}</view>
			</view>
			<view class="dataLine">
				<view class="label">发放时间：</view>
				<view class="data">{{item.a23}}</view>
			</view>
			
			<view class="dataLine">
				<view class="label">状态：</view>
				<view class="data">{{item.a24}}</view>
			</view>
			<view class="dataLine">
				<view class="label">政策：</view>
				<view class="data">{{item.a25}}</view>
			</view>
			<view class="dataLine">
				<view class="label">总交易量：</view>
				<view class="data">{{item.a27}}</view>
			</view>
			<view class="dataLine">
				<view class="label">存量交易量：</view>
				<view class="data">{{item.a28}}</view>
			</view>
			<view class="dataLine">
				<view class="label">补贴分润：</view>
				<view class="data">{{item.a31}}</view>
			</view>
			<view class="dataLine">
				<view class="label">创建时间：</view>
				<view class="data">{{item.createTime}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				item:{}
			}
		},
		onLoad(option){
			this.id=option.id
			this.getData()
		},
		methods: {
			getData() {
				this.httpClient.post('profit/app/profitSum/getMingxiList', {
					id:this.id
				}).then(res => {
					this.item=res.data
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	#profitDetail{
		
		.dataNav{
			font-size:24rpx;
			.dataLine{
				position:relative;display:flex;align-items: center;padding:15rpx 20rpx;background-color:#FFF;margin-bottom:1rpx;
				.label{
					width:240rpx;text-align:right;color:#888;
				}
				.data{
					position:relative;flex:1;
				}
				.operBtn{
					background:#FFA500;color:#FFF;margin:10rpx 30rpx;text-align: center;border-radius: 15rpx;padding:10rpx;
				}
			}
		}
		  
	}
	
</style>
